package com.weihong.it.edi.pojo;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author muxiaoyu
 *  t_user 对应实体类
 */
@Table(name = "t_user")
public class User {
    @Column(name="UserId")
    private Long userId;
    @Column(name = "UserName")
    private String userName;
    @Column(name = "UserPassword")
    private String userPassword;
    @Column(name = "UserType")
    private Short userType;
    @Column(name = "UnitFullName")
    private String unitFullName;
    @Column(name = "UnitShortName")
    private String unitShortName;
    @Column(name = "ContactPerson")
    private String contactPerson;
    @Column(name = "QQNum")
    private String qqNum;
    @Column(name = "TelNum")
    private String telNum;
    @Column(name = "WeiXin")
    private String weixin;
    @Column(name = "Email")
    private String eMail;
    @Column(name = "UserStatus")
    private Short userstatus;
    @Column(name = "InvoiceTitle")
    private String inVoiceTitle;
    @Column(name = "Buyer")
    private String buyer;
    @Column(name = "BankName")
    private String bankName;
    @Column(name = "BankAccount")
    private String bankAccount;
    @Column(name = "MailNotice")
    private BigDecimal mailNotice;
    @Column(name = "LastLoginTime")
    private Date lastLoginTime;

    public Long getuserId() {
        return userId;
    }

    public void setuserId(Long userId) {
        this.userId = userId;
    }

    public String getuserName() {
        return userName;
    }

    public void setuserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getuserPassword() {
        return userPassword;
    }

    public void setuserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public Short getuserType() {
        return userType;
    }

    public void setuserType(Short userType) {
        this.userType = userType;
    }

    public String getunitFullName() {
        return unitFullName;
    }

    public void setunitFullName(String unitFullName) {
        this.unitFullName = unitFullName == null ? null : unitFullName.trim();
    }

    public String getunitShortName() {
        return unitShortName;
    }

    public void setunitShortName(String unitShortName) {
        this.unitShortName = unitShortName == null ? null : unitShortName.trim();
    }

    public String getcontactPerson() {
        return contactPerson;
    }

    public void setcontactPerson(String contactPerson) {
        this.contactPerson = contactPerson == null ? null : contactPerson.trim();
    }

    public String getqqNum() {
        return qqNum;
    }

    public void setqqNum(String qqNum) {
        this.qqNum = qqNum == null ? null : qqNum.trim();
    }

    public String gettelNum() {
        return telNum;
    }

    public void settelNum(String telNum) {
        this.telNum = telNum == null ? null : telNum.trim();
    }

    public String getWeixin() {
        return weixin;
    }

    public void setWeixin(String weixin) {
        this.weixin = weixin == null ? null : weixin.trim();
    }

    public String geteMail() {
        return eMail;
    }

    public void seteMail(String eMail) {
        this.eMail = eMail == null ? null : eMail.trim();
    }

    public Short getUserstatus() {
        return userstatus;
    }

    public void setUserstatus(Short userstatus) {
        this.userstatus = userstatus;
    }

    public String getinVoiceTitle() {
        return inVoiceTitle;
    }

    public void setinVoiceTitle(String inVoiceTitle) {
        this.inVoiceTitle = inVoiceTitle == null ? null : inVoiceTitle.trim();
    }

    public String getBuyer() {
        return buyer;
    }

    public void setBuyer(String buyer) {
        this.buyer = buyer == null ? null : buyer.trim();
    }

    public String getbankName() {
        return bankName;
    }

    public void setbankName(String bankName) {
        this.bankName = bankName == null ? null : bankName.trim();
    }

    public String getbankAccount() {
        return bankAccount;
    }

    public void setbankAccount(String bankAccount) {
        this.bankAccount = bankAccount == null ? null : bankAccount.trim();
    }

    public BigDecimal getmailNotice() {
        return mailNotice;
    }

    public void setmailNotice(BigDecimal mailNotice) {
        this.mailNotice = mailNotice;
    }

    public Date getlastLoginTime() {
        return lastLoginTime;
    }

    public void setlastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }
}